/**
 * Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
 * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company. All rights reserved.
 * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://opensource.org/licenses/MIT
 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations under the License.
 */

@import '../../css/variable.css';
@import '../../css/mixins/clearfix.css';

.biz-service-title {
    display: inline-block;
    height: 60px;
    line-height: 60px;
    font-size: 16px;
    margin-left: 20px;
}

.biz-service-table>thead>tr>th:first-child,
.biz-service-table>tbody>tr>td:first-child {
    padding-left: 20px;
}

.data-title {
    font-size: 14px;
    color: #333948;
    margin-bottom: 10px;
}

.biz-data-table {
    border: 1px solid #dde4eb;
    margin-bottom: 25px;
}

.biz-data-table>thead>tr>th {
    background: #fafbfd;
}

.biz-data-table>thead>tr>th,
.biz-data-table>thead>tr>td,
.biz-data-table>tbody>tr>th,
.biz-data-table>tbody>tr>td {
    height: 42px;
    padding: 10px 20px;
}

.point-box {
    border: 1px solid $borderWeightColor;
    margin: 8px 0 0 0;
    padding: 15px 15px 10px 15px;
    position: relative;
    border-radius: 2px;

    &:after {
        content: '';
        width: 8px;
        height: 8px;
        display: inline-block;
        border-top: 1px solid #dde4eb;
        border-right: 1px solid #dde4eb;
        transform: rotate(-45deg);
        position: absolute;
        top: -6px;
        left: 39px;
        background: #fff;
    }
}

.key-tip-wrapper {
    height: 34px;

    .key-tip {
        line-height: 34px;
    }
}

.key-list {
    @mixin clearfix;

    li {
        float: left;
        margin: 0 5px 5px 0;
        border: 1px solid $borderWeightColor;
        border-radius: 2px;
    }

    .key,
    .value {
        float: left;
        line-height: 22px;
        text-align: left;
        padding: 0 10px;
        font-size: 12px;
        color: #737987;
    }

    .value {
        border-left: 1px solid $borderWeightColor;
        background-color: #fafbfd;
    }
}

.show-labels-btn {
    cursor: default;

    &:hover {
        background: $primaryColor;
    }
}

.biz-tip {
    display: inline-block;
    font-weight: normal;

    &.bk-danger {
        color: $dangerColor;
    }
}

.biz-service .bk-selector-input[disabled="disabled"] {
    color: #666 !important;
}

.biz-service {
    .already-selected-nums {
        font-size: 14px;
        height: 40px;
        line-height: 40px;
        display: inline-block;
        float: left;
        margin-left: 15px;
        color: #737987;
    }
}
